package com.juneng.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.juneng.vo.CourseVo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 课程目录实体类
 *
 * @author zds
 * @since 2021-07-08
 */
@Data
@ApiModel(value = "CourseList对象", description = "课程目录")
@TableName("course_list")
public class CourseList implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 目录编号
     */
    @ApiModelProperty(value = "目录编号")
    @TableId(value = "list_id", type = IdType.AUTO)
    private Long listId;

    @ApiModelProperty(value = "课程名称")
    private String listName;

    @ApiModelProperty(value = "课程编号")
    private Long courseId;

    @ApiModelProperty(value = "课程图片")
    private String listImage;

    @ApiModelProperty(value = "课程介绍")
    private String listDescription;

    @ApiModelProperty(value = "备注")
    private String listRemark;

    @ApiModelProperty(value = "课程地址")
    private String videoUrl;

    @ApiModelProperty(value = "课时数量")
    private Integer sectionNum;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime listCreateDate;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime listUpdateDate;
    /**
     * 权重排序
     */
    @ApiModelProperty(value = "权重排序")

    private Integer listPosition;
    /**
     * 逻辑删除
     */
    @ApiModelProperty(value = "逻辑删除")

    private Integer listStatus;


}
